package it.eng.area118.mdocommon.android;

import it.eng.area118.mdocommon.android.log.BasicLogger;

import java.io.FileDescriptor;

import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;

public class DummyBinder implements IBinder {

	public static final String TAG = "ComunicationServiceBinder";

	@Override
	public void dump(FileDescriptor arg0, String[] arg1) throws RemoteException {
		BasicLogger.writeLog(TAG, "dump");

	}

	@Override
	public String getInterfaceDescriptor() throws RemoteException {
		BasicLogger.writeLog(TAG, "getInterfaceDescriptor");
		return null;
	}

	@Override
	public boolean isBinderAlive() {
		BasicLogger.writeLog(TAG, "isBinderAlive");
		return false;
	}

	@Override
	public void linkToDeath(DeathRecipient arg0, int arg1) throws RemoteException {
		BasicLogger.writeLog(TAG, "linkToDeath");

	}

	@Override
	public boolean pingBinder() {
		BasicLogger.writeLog(TAG, "pingBinder");
		return false;
	}

	@Override
	public IInterface queryLocalInterface(String arg0) {
		BasicLogger.writeLog(TAG, "queryLocalInterface");
		return null;
	}

	@Override
	public boolean transact(int arg0, Parcel arg1, Parcel arg2, int arg3) throws RemoteException {
		BasicLogger.writeLog(TAG, "transact");
		return false;
	}

	@Override
	public boolean unlinkToDeath(DeathRecipient arg0, int arg1) {
		BasicLogger.writeLog(TAG, "unlinkToDeath");
		return false;
	}

}
